namespace Network {
  export interface HttpOpts {
    method:
      | "OPTIONS"
      | "get"
      | "HEAD"
      | "post"
      | "PUT"
      | "DELETE"
      | "TRACE"
      | "CONNECT";
    url: string;
    data?: any;
    headers?: Base.GeneraDataType<string | number>;
    responseType?: string;
    hasAllRes?: boolean;
    customError?: boolean;
  }
  export interface FormDataHttpOpts {
    data?: Base.GeneraDataType;
    headers?: Base.GeneraDataType<string | number>;
    file?: File;
    files?: Array<File>;
    filePath?: string;
    formData?: object;
    responseType?: string;
    url: string;
  }
}
